import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule,Http } from '@angular/http';
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
//import { TranslateModule, TranslateLoader, TranslateStaticLoader } from 'ng2-translate';
import { AppComponent } from './app.component';
import { AppRoute } from "./app.routes";
import { PageModule } from './component/page.module';

//service
import { HttpRequest } from "./service/httpRequest";
import { FileLoader } from "./service/fileLoader";
import {HideElementService} from "./service/hideElement.service";



@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserAnimationsModule,
    BrowserModule,
    FormsModule,
    HttpModule,
    PageModule,
    AppRoute,

  ],
  providers: [
    HttpRequest,
    FileLoader,
    HideElementService
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
